<!--
  Generated template for the RegPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>reg</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-list>      
    <ion-item>
      <ion-label>Username</ion-label>
      <ion-input type="text" [(ngModel)]="user.username" name="userName"></ion-input>
    </ion-item>
  
    <ion-item>
      <ion-label>Password</ion-label>
      <ion-input type="password" [(ngModel)]="user.password" name="password"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label>Password2</ion-label>
      <ion-input type="password" [(ngModel)]="user.password2" name="password2"></ion-input>
    </ion-item>
  </ion-list>  
  <div padding>
    <button ion-button block  (click)="submit()">Sign Up</button>
  </div>
</ion-content>
